package com.zlc.workflow.core.process.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 流程节点审批人配置
 */
@Getter
@Setter
@Accessors(chain = true)
public class NodeApproveUserConfig {

    private String id;


    @ApiModelProperty(value="节点审批配置ID")
    private String configId;

    /**
     * 事件ID
     */
    @ApiModelProperty(value="事件ID")
    private String eventId;

    /**
     * 条件满足与否
     */
    @ApiModelProperty(value="条件满足与否")
    private String conditionRes;

    /**
     * 获取用户类型 START|VARIABLE
     */
    @ApiModelProperty(value="获取用户类型 START|VARIABLE|ACCOUNT|NODE_APPROVE|ALL_APPROVE")
    private String userType;

    /**
     * 人员配置
     */
    @ApiModelProperty(value="人员配置")
    private String approveUser;

    /**
     * 包含 INCLUDE 排除 EXCLUDE
     */
    @ApiModelProperty(value="包含 INCLUDE 排除 EXCLUDE")
    private String useDir;

    /**
     * 序号 exclude
     */
    @ApiModelProperty(value="序号")
    private Integer order;
}
